package com.leanin.form.mapper;

import com.leanin.form.model.LeaninFollowFormDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaninFollowFormDeptMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LeaninFollowFormDept record);

    int insertSelective(LeaninFollowFormDept record);

    LeaninFollowFormDept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LeaninFollowFormDept record);

    int updateByPrimaryKey(LeaninFollowFormDept record);

    void insertList(@Param("params") List<LeaninFollowFormDept> params);

    void deleteByFormId(@Param("formId") Long formId);

    List<LeaninFollowFormDept> findByFormId(@Param("formId") Long formId);
}